.add-form{
  display: block;
  color: #4f4f4f;
  width: 650px;
  margin: 0 auto;
  margin-top: 50px;
}
.add-form input{
  display: block;
  color: #4f4f4f;
  margin-bottom: 30px;
}
.add-form input[type = Submit]{
  color: #fff;
}
.add-form .fileinput{
  margin-bottom: 5px;
}
/* 
  标签样式
*/
.form-group{
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 0px;
}
.form-group .txt-box{
  display: flex;
  justify-content: center;
  align-content: center;
}
.form-group .txt-box #tags_inp{
  border: none;
  padding: 0px 5px;
  font-size: 12px;
  width: 70px;
  background: #e9e9e9;
  border-radius: 2px;
  line-height: 15px;
  height: 21px;
  color: #4f4f4f;
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
  outline: none;
  margin: 0;
  margin-top: 5px;
  margin-right: 10px;
  display: none;
}
div.tag-box {
  display: flex;
  justify-content: center;
  align-content: center;
}
div.tag-box span.btn-add-tag {
  display: block;
  padding: 0;
  background-color: transparent;
  border: none;
  color: #349EDF;
  font-size: 14px;
  outline: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
div.tag-box span.btn-add-tag .icon{
  margin-right: 8px;
}
div.tag-box span.btn-add-tag i.icon-tianjia {
  font-size: 16px;
  color: #349EDF;
  vertical-align: -1px;
}
div.tag-box span.btn-add-tag i.icon-tianjia.mr8 {
  margin-right: 8px;
}
div.tag-box div.tag {
  float: left;
  margin-right: 8px;
  line-height: 32px;
  display: -ms-flexbox;
  display: flex;
}
div.tag-box div.tag:last-child {
  margin-right: 16px;
}
div.tag-box div.tag span.name {
  margin-top: 5px;
  display: block;
  padding: 3px 8px;
  font-size: 12px;
  max-width: 480px;
  background: #e9e9e9;
  border-radius: 2px;
  line-height: 15px;
  height: 21px;
  color: #4f4f4f;
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
  outline: none;
}
div.tag-box div.tag i.icon-guanbi {
  margin-left: 4px;
  font-size: 12px;
  color: #ddd;
  transition: color 0.3s ease-in;
  vertical-align: -1px;
  cursor: pointer;
}
div.tag-box div.tag i.icon-guanbi svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
  vertical-align: -3px;
}
div.tag-box div.tag i.icon-guanbi:hover {
  color: #C92027;
}
.mt8 .ipt-remark {
  display: block;
  margin: 0;
  font-size: 12px;
  color: #999999;
}

/*带文本checkbox*/
.add-form .categorie-list{
  margin-top: 16px;
  padding: 8px 8px 0 16px;
  width: 480px;
  max-height: 200px;
  background: #FAFAFA;
  border: 1px solid #DDDDDD;
  overflow-x: hidden;
  overflow-y: auto;
  margin-bottom: 30px;
}
div.form-check {
  line-height: 33px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;

  float: left;
  height: 21px;
  line-height: 21px;
  width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0 16px 8px 0;
}

div.form-check label.form-check-label {
  padding-left: 24px;
}

div.form-check input[type="checkbox"] {
  display: none;
}

div.form-check input[type="checkbox"] + i {
  position: relative;
  display: inline-block;
  margin-left: -24px;
  margin-right: 8px;
  width: 16px;
  height: 16px;
  vertical-align: 2px;
  cursor: pointer;
}

div.form-check input[type="checkbox"] + i::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
}

div.form-check input[type="checkbox"] + i svg {
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  display: none;
}

div.form-check input[type="checkbox"]:checked + i svg {
  display: block;
}